import { getAdsText } from '~/utils/configHelper'
export default defineEventHandler(async (event) => {
  const hostname = getHeader(event, 'host') || ''
  setHeader(event, 'Content-Type', 'text/plain')
  const adsText = getAdsText(hostname)
  
  return adsText

})
